Updated the login page to work with the new interface.