added ticket and tag model with obtain method