Adding chat server authentication