create a route protection for the Editor route that ensures one is authenticated before one can use it.