Implemented account storing in JSON file