handled requests and 404 in appRoute