add ping to home page to get cookies.