Overloading registerProvider method to run boot() method when application is booting