creating tickets correctly and passing problems to new page