Added support for login/logout to all the sites.