add post functionality
resolved db conflict