resolve url in login