add spec and functionality for editing tickets
add spec and functionality for deleting tickets