require base.php so we can know, if we need to send redirect