adding a post and updating navigation