Add dynamic navbar and change route settings