My intention was to redirect users to the login page if they try to access pages like http://localhost:3000/videos/1 without logging in. Is there a better way to approach this?