Basic Login/Logout for Distributors and Affiliates implemented