added all categories to sidebar
display content only if logged in