adding validations + editing profile