uses in session or not logic added