changed RestService to adress server url from local storage; minor corrections