Added check if email query returned results.
-ININ.
Fixed createUser not salting and hashing temp password before writting
to db.
-ININ.