[BUGFIX] do changes only if a user is actually found