login w/ json client