Remove session related function out of user.h
Move user management function into userMgm.h
Convert userInfo from map into string to simplify the interface and
logic