event based switching added
added clear eeprom and reboot features
added http authentication