store user selection in the session