added features to site to support user login/logout