added the saving and loading of nicknames from a json file