Finalized new post functionality