user account editAction() refactoring