Added not authorized page to response handler