Update protecting the profile route