add validation of user name on edit