add validations to app