fixed error pages for signed in users