added some basic way of making sure user's clicks are only registered once per session