added json based communication, added show online user list function