add j_id and j_pwd as constructor parameter