Decode information given from server.