we need preventdefault so href doesnt show in url