finished replacing user_type strings with constants