Added 404 page if no resource is found and the default is selected