defined states and routes for everything on navbar