database interaction all good for post notes