began moving some user-specific functions into User class methods