Added the find_by_id method to group class