bug fixed; implented navbar when logged in