added counter to prevent multiple texts and started commented post request