Update index.php

Fixed wording in validation error for incorrect password. Also reformatted code.