Fixed: Redirection to register screen again on successful registration.

Fixed: Redirection to register screen again on successful registration.