Render Access denied
Our renderRoutes
method checks if user has permissions and if the check fails then it just redirects to /login even if the user is logged in.
A better solution would be to display an "Access denied. You do not have permission to access the requested resource." message and stay on the same URL.