Added a possible custom message on NotFound and Unauthorized