I'd have a function that checks to see if the user is logged in or not:
<?php
function is_logged()
{
if(isset($_SESSION['username'])) { // user is signed in
return true;
}else{
return false;
}
}
?>
And then for each page (Let's say Guitar) have this:
<?php
if(is_logged())
{
// Display button for particular music thing
}else{
// display nothing
}
?>
Then you can re-use the same code over and over again and for each page, run the function :)