* Change in doku.php. From Line 11 add the following:
if (isset($_COOKIE['HTTP_USER_AGENT'])){
		if ($_COOKIE['HTTP_USER_AGENT'] != md5($_SERVER['HTTP_USER_AGENT'])){
			logout();
			exit;
		}
	}
	
	if(!isset($_COOKIE['userid'])){				  			       
		header("Location: https://websem.psychstat.org/login.php");
		exit();		
	}
$_SERVER['REMOTE_USER'] = $_COOKIE['myself'];
$INFO['userinfo']['name']  = $_COOKIE['myself'];
global $USERNAME;
$USERNAME  = $_COOKIE['myself'];
  * In file changelog.php Line 68 & 125 
$user   = $_COOKIE['myself'];
  * Change the header
  * For discussion - action Line 748