Added DatabaseManager

Login functionality added
Logout added