Add Edit logic to user, made by Sergiy amd Roman