add attendances conttroller, clean up