added nav bar to creat post page