Fixed getLogs.php to return location logs AND pill logs