Improved Index.php and check

These files can now handle the hashed passwords
Adding Check