create log when add or remove a student of class