switched user_id to email