Common.php has to be changed to prevent redirecting.