Added Functionality to AddNewShare.cs