Added SSL via herokuapp to activate countevent method