Added function to determine userType from answers