Hooks up the sync button and the users dropdown.