add posts system and postgresql database