Added 'log.class.php' to save log information on database.