resolved issue 287 - fixed xss in logs.php