UserID stored in session and custom error page