fixed issues with cookie expiration on logout, logout now works