updated redirect location for register