Updated all chat/authentication php

Updated to the newest versions