Added not found and bad request responses when the request can't be handled