refactored user mutations.