View tracked tickets.
Remove from tracked list.
Show message instead of broken table when empty.

all SQL is included.
Prevent showing incorrect message when login.
Show message when insert an exist entry.

Originally showing no-reason error.