Added user database methods into the database classs, also added user class