Removed string types and added enum type for user role