Remove undefined index and add url+user+pw-check