removed check_ticket function and added sync function in doattend controller
removed route for checking doAttend ticket
defined get_doattend_count function in attendees model