added deps
added session check methods