Fixed #6 for the music section

Also moved the validation to utils, and fixed bug where .authkey was assigned to instead of .auth.