lets make the buttons work on connection.