working on returning json object 

working on returning json object for active users