use constants for previously hardcoded values, like event names or the access token session key
added a way to retrieve the access token without reading it directly from the session
supress errors when posting a notification, simply return null in case of failure
add a way to pass a ref parameter with notifications