add created field to Post model
use logging, refs #4