finished the login functionality