part2: added roles and initialization for admin, upload, and registration records