database submission for post to be done