added updated db structure for users