db access working; duplicate messages issue solved