fixed redirect after user registration