reorder structure
 change user.role from int to enum