Refactor of LogIn to Login