Fixes and completes multiple logins.
Takes database.yml out of version control.