How to connect smartContract to UI with Metamask(web3 tutorial)