Replaced user_id with user.id to correct bug.