minor changes to login