Fix redirect after registration