Minor changes to the login and database interface.