Created a custom html builder and service provider and moved a method out of the user model