fix user url generation