Added serialize and deserialize methods to Player and modified the server to use the serialize method when broadcasting user data