change userType from enum to string