User should be redirected to the page they were trying to access after logging in on a protected route.
User should be redirected to the page they were trying to access after logging in on a protected route.