fix bug in database design

remove all table duplicates in curry and use
cenozo tables instead
adding roles to the database