fixed reference to user in find or create function