db structure changed

collections permissions and roles added