Added buy ticket functionality