asyncmachine callbacks
auth class
sync class