for module.php - redirect on session time out problem