Add login and logout redirection

* onLoginRedirectPath and onLogoutRedirectPath are used to redirect the user when the onLoginConfirmed and onLogoutConfirmed methods are called respectively.