Here we add validations to the app.