PageController cleanup and addition of a generic error page