added character/account functionality to lua