Parse username from user json data.
Don't use deprecated std::auto_ptr
Refactor: extract parsing response of user request to ServerResponse class.
No need to use map here, use unordered_map