Implemnted_login_logout