changed user role to enum