move the navbar and related stuff into the application template