Fixed some errors with logging in and registering.

Sometimes the register still has trouble because of the google database
not updating really fast. So we should not validate the user right
after they sign up because it will fail.