Added 404 handler to redirect bad routes