check for valid numeric pin