Added implementation of local storage instead of using cookies. Added services test regarding local storage service.