Works. Got rid of unnecessary methods in session class