modified data/query api to read the data thru guard rule engine.
fixed (temporary) the username issue with lua-java mapper method

Change-Id: Ic76c88534bd5fac206d12d3f76ed3b04819e62bc