added redirect after registration