user input being accepted and stored in json file