modified logic to clear biddata in session