App.js updated with necessary code.