Small changes for the login process