Added users table in db and added logging of user data