Updated application adapter. Updated controller error responses