Minor changes to login authentication~