KAZOO-866: add user extraction to util
KAZOO-866: fix formatting
KAZOO-866: extract the user and don't return a presence rec if state is undefined
KAZOO-866: more verbose logging