fix bug with timetable report, need to join on viewer when checking last login