Implemented GenericDao and changed User.id to long