add tickets controller (:new) + fix some bugs