Moved the one-instance-only and parsing logic into the User class.