fixed page load error for non logged in users for the /user page