Eliminate race condition between creating and using user