fix use base in captiveportal and usercorner