Implements method getProjectsByUserAndGroup
Added data to the db