adds ability to pass it redirect url when logging out