add basic post functionality