added controll to redirect in modules/test/index.php