switched pin() to toggle() and better CliendID and Topics
Revert "switched pin() to toggle() and better CliendID and Topics"

This reverts commit bd4de8f45d452b936d5885a3c280fb8ecb793609.