i am using an admin template ..i have different kind of access levels . when ever a user of particular level logs In to the page the menu side bar should be created based on role provided to the user when an admin registers to it .