Added Reveal conditions

If database is empty will hide the program and the ticketing