added JsonHelper
server and client communication now automated; login works