persistant login fix