use base lib, add dynamic param for login