check code for network. TODO: change readCard for many user info in one file