added user/password check to tvheadend script