add pretty date
define api route
add ticket detail page