More work for the sessions page, adds a summary function