added some code to ticketscontroller
Merge branch 'master' of https://github.com/hansvn/minihackaton