new DB and login fix