adds vars to session.