pushing data refreshes page only if client is on the relevant page