wrote getActivities() in ListingsSessionStateful.java