started coding the login process