changes to set/update userType