Replaced 500 status code on missing header with 403
Implemented handling of custom exception response messages and status codes