Small changes relating to login