Fix an issue of inconsistent user validation and database due to
password == null(cause later session problem) by prompt 'Cancel'!