Added upload functionaity in client side