Some little changes to redirect users after registration.