added User class support for find function, and added an updateUser function that supports queries