added name and uname in register sale url