Add mod login/logout