fixed persisten cookie login