buttons on index page to control switches and reset
add ability to change light intensity