* adding transaction on entry to database