Revert "getAuth handle null result."

This reverts commit 10f97626f4fdeaa01e5598b32de88a0593ffdbc7.
implment createUser()