adding basic session persistence