check user type

1.add “check_user_type.php”, which includes a function that could be
used to check user type. Also add this function to existing php file.
2.add “system_log_check.php”,which is for admin to check systemlog file
.add a folder to put “systemlog.php”.