Signup URL

I refactor the code above. This block is different in 2 cases. I keep the code the same.