Moved double-click check up before we create the user, so we don't get the annoying error message in the error log. Also, got rid of the from the error we spit out if something does go wrong, since this variable is not defined, so we'd get a database error, then an internal server error.