switch logout button to dropdown menu