recover.php fix.
Little logic changes