Fixes error with sidebar showing when no admin was signed in