Removed angular local storage in favour of resource local storage