* displays page errors based on error code
* redirects to error page when system encounters error 404