Added a sample cas event listener implementation