remove session dependency