pub fn parse_user_type(val: &str) -> Result<UserType>