Added 404 handling to app