Back-end checking for password security

Also some comments typo fixing in requests.php and sql.inc.php