login stuff from DB class