removed extra slash in url + console.log