working on db and login info