Finish the login