Removed deprecated function getOneUser()