the current condition to redirect to / was never matching, so a blank page was displayed on /user when not logged in or when logged in as admin. this will fix it and always redirect to / if nothing is rendered in the user.php