changed to username from email login
problem with two dbs