added userType enum