input user and password if variables are not defined