add missing getter for id
add TicketRepository
add DB capabilities to UserApp