send refresh on connect
use sockets to send button input as opposed to http