frontend changes
only render navbar when logged in