messing around with cookie and session persistence