Added handlers for 404 and maintenance