REFACTOR pushServer to send json every 2 secs, FAILED making client showing the response in UI