added ticket detail page
refactoring json views
refactored edit view