<!-- admin smarty template here -->
<!-- standard user template here -->
<!-- anonymous template here -->
all you have to do is edit the mainmen and usermenu block template in system.
'Defacer' module has a preload that is able to assign blocks to a smarty var and unset those blocks from the blocks array(so they do not show in on the blocks layout). You can look into it for ideas.