double free memory corruption in agent fixed
Application works with mobile app
Bugs fixed: \n symbol is added to the outJson, some double free corruptions fixed, invalid jsons were also fixed.
Added all recognized users to out json
Merge pull request #16 from dmedov/dev_linux

Removed some bugs found on testing with mobile app