Fix for checking of ID and Password

During Submission