add localStorageService to mainController