added some routes and added some navbar behavior