JsonRequest added to code , we can now read past alerts from server