Moved format phone numbers methods for user to the user model as class methods that are executed before updating.