added django session support