use list comprehension to build the list of active sessions