adding click log analysis code using a new app called clickthrough . most of the function written in views