add music multi-user control and tidy the logic of back-script