changed login.php to index.php on logout & units