fix(js): url equals

in login method