change Role and Gender to enum