Log out functionality added to the new authentication module.