Added save post functionality