Error message update

Small error message update in index.php and typo fix in pass.php