Added local saving to cookies if not logged in.