trying implement reboot function on web app