Refactored the controllers to use the new habitService instead of hitting the localStorageService directly