Fix redirect after register