Call this when the user succesfulyl logs in.
If the user had attempted to reach a login-only URL, this redirects them back to it. Otherwise, this redirects to 'defaultUrl'.
See Implementation
Call this when the user succesfulyl logs in.
If the user had attempted to reach a login-only URL, this redirects them back to it. Otherwise, this redirects to 'defaultUrl'.