skeleton of get shares list method and little fix on server