added user_id to groups model