implemented elastic search for attandance