add JST template support, + login/signup server error callback