Systems and methods for securing access to resources