create action messages table
rename to be consistent
should close the cursor before returning