scaffolded user and apllied validations.