Trying to get the login functionality