Changed attendance page functionality a little