Changed getAllSessions() to return empty list instead of null