got adding and displaying posts working