more refactoring around user creation and comment extraction