changed checkInputVerifcation to return value from editText