Make trail.user_id equal current_user.id