Handle the button click packet, add an API hook for it
Add a player.logout() API call, logout callback