added new exceptions to handle page not found exception and internal server exception
added custom 404 and 500 page