remove all the session start and replace them with cookie