modify login.controller and change $cookieStorage to storageService