Storing and reading data from external server