updating href for register page