add click event listener and page use listener