renamed index.php to getTicket