updated createUser query