Added ability to query usertype