Added helper methods to log users in