Added condition only show sidebar if signed in.