adding API endpoint for getting all sessions