Implemented edit user and validation