Added listener to the user buttons.