new methods to configure redirects in modules
simple login and logout module