Don't try to display sidebar if user not logged in.