[BK] #Tech - added exception handling to REST API for users.