Quite a few fixes and now response is understood by client for just return code responses