Changing default router exception handling
Adding pageNotFound exception.
Changing default to internal server exception 500.