updated user type and work flow