Added client version check. If the version is not up to date the client refreshes and clears its cache.