ApiController postJson function added User and ApplicationException classes