added navbar dependencies to all views