Added permissions and roles logic to hide/view admin tabs