Finally implemented lockdown mode

Conflicts:
	public_html/ajax/login.php
Fixed permissions on config.dat