added ticket loggin