Added click logging