Added the ability to log in