Started the move of the login functionality.