Added changing attendance functionality