Added a blank site_config.php file, fixed bugs in registering system