Fixing form condition. (No login box in index.php bug)