introduced localStorage interface with ng-storage in UserService