Audit plugin to capture login and logout events