Better handling of session. New table for events. Now retrieves event objects. Shows event list for teachers.