Adding an option to get the list of sessions