Query using the user object instead of just name

modified saveUser and findUser to query using the object instead of just name.

@ryojiosawa , @jjmerino , @kmeurer , @jamesongamble - review