added route changing to navbar