src/components/app.js
//below hides routes from codebase when not logged in
below hides routes from codebase when not logged in
below hides routes from codebase when not logged in
authorizedPages(){
    return[
      <Route key= "portfoli-manager" path="/portfolio-manager" component={PortfolioManager}/>
    ]
  }
authorizedPages ( ) { return [ < Route key = "portfoli-manager" path = "/portfolio-manager" component = { PortfolioManager } / > ] }
below hides routes from codebase when not logged in
below hides routes from codebase when not logged in