snippets and script stubs for basic notification during login/logout