add user_id to galleries