Added basic on off buttons to the index page