Refactored User helpers.