master Added middleware session dependency